home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 41 / Issue 41.iso / pc / Smoothwall / docs / installation.txt < prev    next >
Encoding:
Text File  |  2000-12-04  |  10.3 KB  |  258 lines

  1. <PRE>
  2. SmoothWall Install Guide
  3.  
  4. By Jon Fautley (filbert@webbedmail.com) and Tom Ellis (trellis@webbedmail.com)
  5. Edited by Richard Morrell (rmorrell@valinux.com) and Lawrence Manning
  6. (guru@smoothwall.org)
  7.  
  8. Version: 1.2 - Date: 20/09/00
  9.  
  10. This is the SmoothWall installation guide. It will tell you how to install
  11. SmoothWall onto your computer.  For post-install configuration, please see
  12. the configuration guide.
  13.  
  14. 1. The SmoothWall CD
  15.  
  16. There are two ways to get at the files contained within the ISO image
  17. file.  The first is to burn it to a writeable CD.  The second is to mount
  18. it via loopback from a Linux workstation.
  19.  
  20. The Smoothwall ISO image can be found at:
  21. sourceforge.net/projects/smoothwall
  22.  
  23. Our example filename smoothwall-cdrom-X.Y.Z.iso, where X, Y and Z are the
  24. version numbers.
  25.  
  26. 1.1. Burning the ISO file under Linux
  27.  
  28.     cdrecord dev=0,SCSI_ID,0 smoothwall-cdrom-X.Y.Z.iso 
  29.  
  30. 1.2. Burning the ISO file under Windows
  31.  
  32. Under Windows there are many CD recording programs, each of which works
  33. slightly differently.  We have chosen to use the application CDRWin, which
  34. you should be able to adapt to your particular choice of burning software.
  35.  
  36. In CDRWin use the file backup utilities, this is represented by the
  37. 'Screwdriver and Spanner' from the menu.
  38.  
  39. When the window loads change the combo box to 'Record ISO9660' and then
  40. point the image location to the location of the SmoothWall ISO file.  
  41. Stick in a CDR or CDRW recordable media and proceed.
  42.  
  43. The default settings are fine as long as CDRwin is already working you
  44. should be all right.  We have certainly not experienced any difficulties.
  45.  
  46. We have tested our ISO images with:
  47.  
  48. Adaptec DirectCD which immediately created an ISO image by double clicking
  49. on the file we had previously FTP'd from our Linux test download server as
  50. the registry in Windows 9x had picked up the association and within
  51. minutes we had a bootable ISO CD to work with.
  52.  
  53. Nero v 5.0 which also produced in around the same time a perfect working
  54. CD image
  55.  
  56. 1.3. Mounting under Loopback
  57.  
  58. If you do not have a CD burner, you can still install SmoothWall via your
  59. network.  To do this, you will need to access the files from the ISO image
  60. file, and then create two floppy disks.
  61.  
  62. To mount the ISO file under Linux, do the following:
  63.  
  64.     losetup /dev/loop0 smoothwall-X.Y.Z.iso
  65.     mount /dev/loop0 /mnt/cdrom
  66.  
  67. You will now see the contents of the SmoothWall CDROM under /mnt/cdrom.  
  68. Now you can create the floppy disks.
  69.  
  70. When you have finished, make sure you unmount and remove loop0, before you
  71. do anything to the iso file:
  72.  
  73.     umount /mnt/cdrom
  74.     losetup -d /dev/loop0
  75.  
  76. 2. Preparing to Install
  77.  
  78. There are two ways to install SmoothWall.  You can either install directly
  79. from the CDROM, using a bootdisk or by booting directly off the CDROM, or
  80. you can install across a network.
  81.  
  82. 2.1. CDROM Installation from a Bootable CDROM Drive
  83.  
  84. Before you start make sure that you have set your computer to boot from
  85. the CDROM in the BIOS.  Also if you have downloaded the iso image from the
  86. SmoothWall site or a mirror please ensure that you have copied it
  87. correctly.  Instructions on coping are included in this guide.
  88.  
  89. 1. Insert the SmoothWall CD into your CDROM drive.
  90.  
  91. 2. Turn on machine and wait till you are greeted with the LILO: prompt.  
  92.  
  93. 3. Now hit return and your screen should fill with text, this will be the
  94. SmoothWall install kernel booting.  Soon after this you will forced into
  95. the install program.
  96.  
  97. 4. Now follow the prompts, select Ok.  Then choose your installation
  98. media. There are two options: CDROM and FTP or HTTP
  99.  
  100. 5. After you have selected the media type you will be prompted to insert
  101. the CDROM into the drive.  In this case you should have the SmoothWall
  102. disk still in the drive as you booted it.  At this point, it will attempt
  103. to automatically find an ATAPI CDRom drive in your system.  If it cannot
  104. find one, you will be presented with a list of 'old style' CDRom drive.  
  105. Select yours from the list, and continue.
  106.  
  107. 6. You are now ready to move onto the Main Install section.
  108.  
  109. 2.2. Installing via a Network
  110.  
  111. 1. You need to create both of the SmoothWall bootdisks.  You will need two
  112. 1.44Mb formatted floppies. From a Linux box, you need to be logged in as
  113. 'root' and do the following:
  114.  
  115. a) Label the disks 'SmoothWall Disk1' and 'SmoothWall Disk2'
  116.  
  117. b) There are two disk images on the cdrom: smoothwall-disk1-X.Y.Z and
  118. smoothwall-disk2-X.Y.Z
  119.  
  120. c) Copy the image file to the floppy disk: dd if=smoothwall-disk1-X.Y.Z
  121. of=/dev/fd0 bs=1k count=1440
  122.  
  123. d) Repeat the above, but replace the disk1 with disk2.
  124.  
  125. 2. Now that you have both of the SmoothWall install disks, you are ready
  126. to proceed. You will need to get the smoothwall.tgz file off the CD image.  
  127. You can either use the loopback method, or copy from a burnt CD.
  128.  
  129. 3. Now you need to copy this file to the directory used for sharing files
  130. to the outside world.  You need access to a server running on the network
  131. and also running a webserver or an FTP service.  We will assume you are
  132. using HTTP (web):
  133.  
  134. Copy the file to the root directory of your webserver.  Assuming the CDROM
  135. is mounted under /mnt/cdrom, and web server path is /home/httpd/htdocs,
  136. you would execute the command:
  137.  
  138.      cp /mnt/cdrom/smoothwall.tgz /home/httpd/htdocs
  139.  
  140. 4. You should now have both of the disks made, and the file ready to be
  141. served from your web/ftp server.  Now, you need to go over to the box you
  142. are going to install SmoothWall onto, and put the "SmoothWall Disk1" disk
  143. into the floppy drive. Then switch the box on. You should get a prompt
  144. saying 'LILO boot:'
  145.  
  146. 5. Press 'Enter' and the kernel will load, and after a few seconds, you
  147. will get the install program loaded. If you have any problems, it's
  148. probably because your boot disk is corrupt, get a new one.
  149.  
  150. 6. After going through the information dialogs, you will get to the
  151. 'Select Installation Media' dialog.  Select 'FTP or HTTP' as your install
  152. method.
  153.  
  154. 7. You will now need to change disks to Disk2, and select 'Ok'.
  155.  
  156. 8. You will now be warned that the install program is about to wipe ALL
  157. THE DATA ON YOUR HARDDISK!!!!  TAKE NOTE!!  This procedure CANNOT be
  158. undone.  Select'Ok' to continue.
  159.  
  160. 9. You are now ready to move to the Main Install section.
  161.  
  162. 3. Main Install
  163.  
  164. This is the main install section for SmoothWall.  Regardless of the
  165. install method you use, you will need to follow the instructions here.
  166.  
  167. 1. After partitioning, the Install program will attempt to detect which
  168. network card you have installed in this machine.  It will check for the
  169. presence of around 40 cards.  If this fails, you will need to enter the
  170. Linux module name for the particular card.  EXAMPLE:
  171.  
  172. For our installation we used a standard NE 2000 network card, which comes
  173. under the module name ne.  Because this an ISA card, and requires one
  174. additional parameter, the IO port address, the autodetection will fail.  
  175. We entered the module name and parameters when asked.  In our case, this
  176. was 'ne io=0x300'. The module will then load successfully and installation
  177. can continue.
  178.  
  179. 2. You have now reached the network setup page.  This page requires you to
  180. enter an IP (Internet Protocol) Address which will be the address to
  181. access your machine on the local network.  We suggest you write down all
  182. information in this section as it can be handy to have the information
  183. ready for client configuration.  Choose a suitable IP address, if your
  184. network is already setup then select an approprate IP.
  185.  
  186. EXAMPLE:
  187.  
  188. A network has computers on the 192.168.0.0 network.  Routers are commonly
  189. placed at the end or start of the address range so we will choose an IP
  190. address of 192.168.0.1.
  191.  
  192. Network Address:
  193.  
  194. With our example this would be: 192.168.0.0
  195.   
  196. Network Mask:
  197.  
  198. The network mask in our example is: 255.255.255.0.  This means the last
  199. digit in our address is used for the host, the rest is the network
  200. portion.
  201.  
  202. Press return on the OK button.
  203.  
  204. If you are performing a network install, at this point you will be asked to
  205. enter a URL so the Install program can download the smoothwall.tgz file. 
  206. Assuming you copied the smoothwall.tgz to a webserver with IP address of
  207. 192.168.1.2, the URL entered in the box would be:
  208.  
  209.     http://192.168.1.2/smoothwall.tgz
  210.  
  211. 3. SmoothWall will now proceed to install on your system, watch the status
  212. bar and it will give you a idea into what it is doing.
  213.  
  214. 4. Now, set the root password which will be the account password for the
  215. user root when you reboot your machine. This account is only needed if you
  216. want to be able to directly login to SmoothWall and access the shell. Now
  217. set the password for the SmoothWall admin web user.  This password will be
  218. used when using the web pages contained in SmoothWall.  This user can
  219. Dial, Hangup and setup the necessary details for the site.
  220.  
  221. 5. Almost finished. LILO (the Linux bootloader) will then install to make
  222. the harddisk bootable.  If you installed via the CDROM, the SmoothWall
  223. CDROM disk will eject.  Select Ok to reboot the machine.
  224.  
  225. Please remember to remove all media from drives.  As if you do not your
  226. drive may close with the Smoothwall CD still in it and will re-initialise
  227. the installation procedure.
  228.  
  229. Congratulations !!!
  230.  
  231. 6. SmoothWall Linux has now successfully been installed on your system, as
  232. your system reboots wait for the LILO prompt. Hit the return key.  
  233. SmoothWall will then boot and start its services.  Then you should be
  234. presented with a login in prompt similar to this:
  235.  
  236.     SmoothWall vX.Y.Z - http://www.smoothwall.org
  237.     smoothwall login:
  238.  
  239. Your machine is now running SmoothWall Linux, please now consult the
  240. configuration guide on how to configure your SmoothWall firewall dialup
  241. router.
  242.  
  243.  
  244.  
  245. Microsoft Windows, Nero, Adaptec DirectCD and CDRWin are registered
  246. trademarks of their registered owners, Linux is a registered trademark of
  247. Linus Torvalds, SmoothWall is a trademark of Lawrence Manning and Richard
  248. Morrell. SmoothWall is based on VA Linux 6.2.1 which is an optimised
  249. release of RedHat 6.2.
  250.  
  251. Further bug track reports, FAQ's and instructions will be available at
  252. www.smoothwall.org
  253.  
  254. We draw your attention to the terms and conditions of the GNU Public
  255. Licence under which SmoothWall is developed and distributed - a copy of
  256. this can be found on the installation media or on www.gnu.org
  257. </PRE>
  258.